﻿using System;
using System.Collections.Generic;
using System.Windows.Forms;
using DevExpress.LookAndFeel;
using Microsoft.Win32;
namespace zmMoniter
{
    static class Program
    {
        /// <summary>
        /// The main entry point for the application.
        /// </summary>
        [STAThread]
        static void Main()
        {
            Application.EnableVisualStyles();
            Application.SetCompatibleTextRenderingDefault(false);

            DevExpress.Skins.SkinManager.EnableFormSkins();
            DevExpress.UserSkins.BonusSkins.Register();
            UserLookAndFeel.Default.SetSkinStyle("Office 2010 Blue");

            string sPath = Application.StartupPath + "\\db";
            SysEnvironment.SetSysEnvironment("LD_LIBRARY_PATH", sPath);
            SysEnvironment.SetSysEnvironment("TNS_ADMIN", sPath);
            SysEnvironment.SetSysEnvironment("NLS_LANG", "AMERICAN_AMERICA.ZHS16GBK");
            SysEnvironment.SetPathAfter(sPath);
            Application.Run(new mainForm());
        }
    }
}